package com.project.pojo.model;

import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Description: 冻结/解冻账户入参类
 * @Author: zhuchi
 * @CreateDate: 2020/6/27 22:30
 * @Version: 1.0
 */
@Data
public class FrozenOrThawUserModel {

    /**
     * 类型（1:冻结,2:解冻）
     */
    @NotNull(message = "{validation.suspended}")
    private Integer type;

    /**
     * 用户ID
     */
    @NotNull(message = "{validation.userId}")
    private Long userId;

}
